import * as React from 'react';
import { Mask, DotLoading } from 'antd-mobile';
import './index.module.scss';
const { useState } = React;
interface loadingProps {

}

export default function Loading(props: loadingProps) {
	const [visible, setVisible] = useState(false)
	return <>
		{/* <Mask visible={visible} onMaskClick={() => setVisible(false)} /> */}
		{visible ? <div style={{ color: '#00b578' }}>
			<DotLoading color='currentColor' />
			<span>绿色文字</span>
		</div> : ''}
	</>
}
